package research.domain;

import java.util.Set;

import research.entity.Entity;
import research.entity.EntityType;

public final class TestType extends Entity {
	private String name;
	private String description;
	private Set<Test> tests;
	private Set<TestParameter> testParameters;

	public TestType() {
		super(EntityType.TestType);
	}

	@Override
	public String getDisplayName() {
		return name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public Set<Test> getTests() {
		return tests;
	}

	public void setTests(Set<Test> tests) {
		this.tests = tests;
	}

	public Set<TestParameter> getTestParameters() {
		return testParameters;
	}

	public void setTestParameters(Set<TestParameter> testParameters) {
		this.testParameters = testParameters;
	}

	public static TestType getNew() {
		TestType cal = new TestType();
		cal.setName("");
		cal.setDescription("");
		return cal;
	}

}
